package com.liruan.rest.dao.lang;

import org.apache.ibatis.mapping.SqlSource;
import org.apache.ibatis.scripting.xmltags.XMLLanguageDriver;
import org.apache.ibatis.session.Configuration;

public class BaseDriver extends XMLLanguageDriver
{
	@Override
	public SqlSource createSqlSource(Configuration configuration, String script, Class<?> parameterType)
	{
		script = "<script>" + script + "</script>";
		return super.createSqlSource(configuration, script, parameterType);
	}
}
